package router

import (
	"github.com/gin-gonic/gin"
	"order_bff/controller/alipay"
)

func InitAlipayRouter(router *gin.Engine) {

	AliPayRouter := router.Group("o/v1/alipay")
	{
		AliPayRouter.POST("", alipay.GenerateAlipayUrl)
		AliPayRouter.GET("/return", alipay.ReturnUrl)
		AliPayRouter.Any("/notify", alipay.NotifyUrl)
	}
}
